﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.DataCenter
{
    public class BoardList : FullAuditedEntity<Guid>
    {
        /// <summary>
        /// 零件总数
        /// </summary>
        public decimal Quantity { get; set; }
        /// <summary>
        /// 预配套数量
        /// </summary>
        public decimal PreSuiteQuantity { get; set; }
        /// <summary>
        /// 预配套百分比
        /// </summary>
        public decimal PreSuitePercent { get; set; }
        /// <summary>
        /// 配套数量
        /// </summary>
        public decimal SuiteQuantity { get; set; }
        /// <summary>
        /// 配套百分比
        /// </summary>
        public decimal SuitePercent { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public decimal OutboundQuantity { get; set; }
        /// <summary>
        /// 出库百分比
        /// </summary>
        public decimal OutboundPercent { get; set; }
        public List<BoardXJList> BoardXJLists {get; set; }
        public class BoardXJList : FullAuditedEntity<Guid>
        {
            public string Name { get; set; }
            /// <summary>
            /// 型号ID
            /// </summary>
            public Guid ModelId { get; set; }
            /// <summary>
            /// 发次ID
            /// </summary>
            public Guid LotNoId { get; set; }
            /// <summary>
            /// 图号
            /// </summary>
            public string MaterialNo { get; set; }
            /// <summary>
            /// 零件总数
            /// </summary>
            public decimal Quantity { get; set; }
            /// <summary>
            /// 预配套数量
            /// </summary>
            public decimal PreSuiteQuantity { get; set; }
            /// <summary>
            /// 预配套百分比
            /// </summary>
            public decimal PreSuitePercent { get; set; }
            /// <summary>
            /// 配套数量
            /// </summary>
            public decimal SuiteQuantity { get; set; }
            /// <summary>
            /// 配套百分比
            /// </summary>
            public decimal SuitePercent { get; set; }
            /// <summary>
            /// 出库数量
            /// </summary>
            public decimal OutboundQuantity { get; set; }
            /// <summary>
            /// 出库百分比
            /// </summary>
            public decimal OutboundPercent { get; set; }
            /// <summary>
            /// 是否选择
            /// </summary>
            public int isUsed { get; set; }
        }
    }
}
